package com.cctv.iseemini.service;

import com.cctv.iseemini.pojo.User;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * @author cctv 2019-02-15
 */
public interface UserService {

    void addUser(User user);

    List<User> findUserAll();

    PageInfo<User> findUserByPage(int currentPage, int pageSize);

    User findUserById(int id);

    void updateUser(User user);

    void deleteUserById(int id);
}
